import {defineStore} from "./pinia";

let useStore = defineStore('sss', {
  state() {
    return {
      count: 0,
      test: '',
    }
  },
  getters: {
    getCount(state) {
      return this.count
    },
    getTest(state) {
      return this.test
    }
  },
  actions: {
    increment() {
      this.count++
      return this.count
    }
  },
})

let result = useStore()
